/**
 * 
 */
package kr.co.insoft.core.service.template.application;

import java.util.List;
import java.util.Map;

import kr.co.insoft.core.model.template.application.EventEntityModel;
import kr.co.insoft.framework.exceptions.ServiceException;

import org.springframework.transaction.annotation.Transactional;

/**
 * @author IN-SOFT Inc. Park Jong Taek(jtpark@in-soft.co.kr)
 * 
 */
public interface EventService {
	
	/**
	 * Event 목록
	 * 
	 * @return
	 * @throws ServiceException
	 */
	public List<EventEntityModel> getList(Map<String, Object> param)
			throws ServiceException;
	
	/**
	 * Event 등록
	 * 
	 * @param eventEntityModel
	 */
	@Transactional(rollbackFor = ServiceException.class)
	public void createEvent(EventEntityModel eventEntityModel)
			throws ServiceException;
	
	/**
	 * Event 조회
	 * 
	 * @return
	 * @throws ServiceException
	 */
	public EventEntityModel getEvent(String eventid)
			throws ServiceException;
	
	/**
	 * Event 삭제
	 * 
	 * @param eventEntityModel
	 * @return
	 * @throws ServiceException
	 */
	public void doRemoveEvent(String eventid)
			throws ServiceException;
	
	/**
	 * Event 수정
	 * 
	 * @param eventEntityModel
	 * @return
	 * @throws ServiceException
	 */
	public void doEditEvent(EventEntityModel eventEntityModel)
			throws ServiceException;
	
	/**
	 * Event Name 중복 체크
	 * 
	 * @throws ServiceException
	 */
	public boolean isExistEventName(EventEntityModel eventEntityModel)
			throws ServiceException;

}
